package timing.ukulele.project.persistent;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import timing.ukulele.persistent.model.BaseIdWorkerModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "字典内容")
@TableName("c_dictionary_content")
public class DictionaryContent extends BaseIdWorkerModel {

    @TableField("name")
    @ApiModelProperty(value = "内容选项名称")
    private String name;

    @TableField("code")
    @ApiModelProperty(value = "内容编码")
    private String code;

    @TableField("dictionary_id")
    @ApiModelProperty(value = "字典id")
    private Long dictionaryId;

}
